import request from '@/router/axios';
/**
 * 生成包装条码
 */
export const createPackingSequence = (data) => {
  return request({
    url: '/api/mes-admin/label-finished/sequence/create',
    method: 'post',
    data: data
  });
};
/**
 * 包装条码打印
 */
export const packIdPrint = (data) => {
  return request({
    url: '/api/mes-admin/label-finished/sequence/print',
    method: 'post',
    data: data
  });
};
/**
 * 序列号预览
 */
export const generationPreview = (data) => {
  return request({
    url: '/api/mes-admin/label-finished/sequence/preview',
    method: 'post',
    data: data
  });
};
/**
 * 包装报废
 */
export const packingScrap = (data) => {
  return request({
    url: '/api/mes-admin/label-finished/sequence/scrap',
    method: 'post',
    data: data
  });
};
/**
 * 查询打印配置
 */
export const getPrintConfig = (data) => {
  return request({
    url: '/api/mes-admin/label-print-config/get-print-config',
    method: 'post',
    params: data
  });
};
